package com.zmj.sy.mom.srv.aps.bean.entity.order;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zmj.sy.mom.srv.aps.bean.entity.base.BaseEntity;
import com.zmj.sy.mom.srv.aps.utils.Comment;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.time.LocalDateTime;

@ToString
@Comment("物料信息")
@Getter
@Setter
@TableName("tb_import_mbd_partinfo")
public class ImportMbdPartInfo extends BaseEntity{

    @TableField("workflow_id")
    @Comment("工作流id")
    private String workflowId;

    @Comment("变更号")
    @TableField("eca_number")
    private String ecaNumber;

    @Comment("PLM物料编号")
    @TableField("plm_id")
    private String plmId;

    @Comment("图号")
    @TableField("tuhao")
    private String tuhao;

    @Comment("读取状态（N：未读、Y：已读）")
    @TableField("rflag")
    private String rflag;

    @Comment("修改者")
    @TableField("modifier")
    private String modifier;

    @Comment("视图")
    @TableField("view_name")
    private String viewName;

    @Comment("产品型号")
    @TableField("product_number")
    private String productNumber;

    @Comment("新PLM物料编号（带视图）")
    @TableField("plm_id_new")
    private String plmIdNew;

    @Comment("加工说明")
    @TableField("note")
    private String note;

    @Comment("创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    @Comment("部件名称")
    @TableField("part_name")
    private String partName;

    @Comment("来源 A 表示“自制” B 表示“外购”")
    @TableField("source")
    private String source;

    @Comment("工艺路线")
    @TableField("GYLX")
    private String gylx;

    @Comment("材料软属性")
    @TableField("GRADE")
    private String grade;

    @Comment("标识（U/I）")
    @TableField("FLAG")
    private String flag;

    @Comment("拼装次序")
    @TableField("PZCX")
    private String pzcx;

    @Comment("重量")
    @TableField("WEIGHT")
    private String weight;

    @Comment("材料")
    @TableField("CAILIAO")
    private String cailiao;

    @Comment("单位")
    @TableField("UNIT")
    private String unit;

    @Comment("订单ID")
    @TableField("order_id")
    private Integer orderId;
}
